body {
    color: #666;
}
input,
textarea {
    color: #454545;
}
.clearfix:after{content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix{zoom: 1;}
::-webkit-input-placeholder{color: #999;}
:-moz-placeholder{color: #999;}
::-moz-placeholder{color: #999;}
:-ms-input-placeholder{color: #999;}
.layui-layout-body {
    background: #f2f2f2;
}
.layui-header {
    height: 50px;
}
.layui-body {
    padding: 20px;
    position: static;
    /*iframe*/
}
.layui-layout-admin .layui-body {
    top: 50px;
}
.admin-left-nav {
    background: #2E363F !important;
    width: 180px;
    height: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
}
.layui-layout-admin .layui-logo {
    color: #fff;
    font-size: 0px;
    line-height: 80px;
    height: 80px;
    text-align: center;
    width: 180px;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0px 10px;
    background: #2E363F;
}
.layui-layout-admin .layui-logo .layui-badge {
    font-size: 10px;
    padding: 3px;
    height: 12px;
    line-height: 12px;
    top: -3px;
}
.layui-layout-admin .layui-logo img {
    vertical-align: middle;
    margin-top: 0;
    max-width: 100%;
    /*height: 40px;*/
}
.layui-layout-admin .layui-logo a {
    color: #fff;
    font-size: 0;
}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item {
    height: 50px;
    line-height: 50px;
}
.layui-layout-admin .layui-side {
    top: 80px;
}
.layui-layout-admin .layui-side .layui-nav i {
    margin-right: 10px;
}
.layui-layout-admin .layui-side .layui-nav-child dd {
    padding-left: 20px;
}
.layui-form-label {
    width: 100px;
}
.layui-input-block {
    margin-left: 130px;
    width: 88%;
}
.layui-layout-left {
    left: 210px;
}
.layui-table .layui-btn {
    margin: 0.5px 0;
}
.layui-table .layui-btn+.layui-btn {
    margin-left: 0px;
}
.layui-form-select dl {
    z-index: 9999;
    max-height: 250px;
}
.layui-text-red {
    color: red;
}
/*菜单显示按钮*/
.menu {
    position: absolute !important;
    left: 200px;
    top: 10px;
    line-height: 30px;
    color: #0099CC;
    text-align: center;
    z-index: 999;
}
.menu a {
    color: #ccc;
}
.menu .menu-ico {
    font-size: 20px;
    cursor: pointer;
}
.area-select {
    position: absolute;
    left: 240px;
    top: 10px;
}
.area-select select {
    height: 30px;
    border: 1px solid #ddd;
    padding-left: 5px;
    border-radius: 2px;
    color: #666;
}
.area-select .layui-select-title {}
/*桌面快捷图标*/
.deskbox {
    height: 90px;
    border-radius: 5px;
    color: #666;
    text-align: center;
    background: #f2f2f2;
    margin: 5px;
}
.deskbox:hover {
    background: #e0e0e0;
}
.deskbox dd {
    font-size: 30px;
    line-height: 50px;
    color: #009688;
}
.deskbox dt {
    padding-top: 15px;
    color: #999;
    font-weight: normal;
}
.page {
    clear: both;
    margin: 10px 0;
    text-align: center;
}
.page a:hover {
    color: #009688;
}
.page-status {
    border-radius: 2px 0 0 2px;
}
.page-last {
    border-radius: 0 2px 2px 0;
}
.page-status,
.page-index,
.page-pre,
.page-num,
.page-next,
.page-last {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: middle;
    padding: 0 15px;
    height: 28px;
    line-height: 28px;
    margin: 0 -1px 5px 0;
    background-color: #fff;
    color: #333;
    font-size: 12px;
    border: 1px solid #e2e2e2;
}
.page-num-current {
    background-color: #999;
    height: 30px;
    line-height: 30px;
    border-top: none;
    border-bottom: none;
    color: #fff;
}
a.page-num-current:hover {
    color: #fff;
}
.readonly {
    background: #fafafa;
}
.table-input {
    padding: 0px 15px !important;
}
.table-input input {
    height: 30px;
    max-width: 50px;
    padding: 0px;
    text-align: center;
    color: #666;
}
.table-two tbody td {
    text-align: left;
}
.table-two tbody th {
    text-align: right;
    width: 110px;
}
.fa-toggle-on {
    font-size: 20px;
    color: #5FB878;
}
.fa-toggle-off {
    font-size: 20px;
    color: #d2d2d2;
}
.pic {
    margin-left: 130px;
}
.pic dl {
    float: left;
    position: relative;
}
.pic dl dd {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    background: #666;
    color: #fff;
    padding: 2px;
}
.pic img {
    max-height: 100px;
    margin: 5px 0;
    margin-right: 5px;
}

@media only screen and (min-width: 450px) {
    .layui-form-item .layui-input-inline {
        width: 260px;
    }
}

@media only screen and (max-width: 750px) {
    .layui-body {
        left: 0px !important;
    }
    .menu {
        left: 20px;
    }
    .area-select {
        right: 5px;
        left: auto;
    }
    .layui-layout-admin .layui-footer {
        left: 0px !important;
    }
    .admin-left-nav,
    .layui-layout-admin .layui-side {
        display: none;
    }
    .layui-body {
        overflow-x: auto;
    }
    .hidden-xs {
        display: none;
    }
    .layui-form-label {
        width: 80px;
    }
    .pic {
        margin-left: 110px;
    }
    .layui-input-block {
        margin-left: 110px;
        width: auto;
    }
}

@media only screen and (max-width: 450px) {
    .layui-form-item.nospace .layui-input-inline {
        margin: 0 0 10px 0px;
    }
}



/*多图文开始 @mk-label 2020.03.03*/
.ui-sortable-placeholder{ display: inline-block; }
.images_upload_wrap li {
    margin-right: 1%;
    display: inline-block;
}
.images_upload .ic{
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 4px;
    position: relative;
    float: left;
    background: #fff;
}
.images_upload .cover-bg{ background: #000; opacity: 0.5; width:100%; height: 100%; position: absolute; z-index: 2;display: none;}
.images_upload .icaction{position: absolute; top:50%; margin-top: -15px; text-align: center; width:100%; z-index: 111;display: none;}
.images_upload .icaction span{ height: 28px; line-height: 28px; padding: 0 8px; background: #FF6666;  color: #fff; display: inline-block; cursor: pointer;}

.images_upload .upimg img{     
    vertical-align: middle;
    max-width: 100%;
    max-height: 100px;
}
.images_upload .ic img{
    position:absolute;
    top:50%;
    transform:translate(-50%,-50%);
    z-index: 1;
    left:50%;
}
.images_upload textarea{ 
    width:100%; 
    box-sizing: 
    border-box;
    margin-top: 5px;
    font-size: 13px;
    height: 50px;
    min-height: 50px;
    float: left;
    border-color: #ddd;
    border-radius: 3px;
    -webkit-appearance: none;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.065) inset;
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1) 0s;
}
.table-bordered{ width:100%; }
a.upimg,div.upimg{ 
    height: 100px;
    background: #fafafa;
    overflow: hidden;
    text-align: center;
    position: relative;
    display: block;
}
div.upimg:hover .icaction,
div.upimg:hover .cover-bg {
    display: block !important;
}

.operation a{
    text-align: center;
    color: #666;
    outline: none;
    width: 33.3333%;
    float: left;
    font-size: 14px;

}
.operation a input{ display: inline-block; margin-right: 3px; vertical-align:middle; margin-top: -3px;}
a.imgupload{
    display: inline-block;
    padding: .5em 1em;
    vertical-align: middle;
    font-size: 1.0rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    border-radius: 0;
    cursor: pointer;
    outline: 0;
    -webkit-transition: background-color .3s ease-out,border-color .3s ease-out;
    transition: background-color .3s ease-out,border-color .3s ease-out;
    color: #fff;
    background-color: #3bb4f2;
    border-color: #3bb4f2;
}
.operation a label{
     cursor: pointer;
}
a.imgupload i{font-size: 1.0rem;}
a.imgupload:hover{ background-image: linear-gradient(160deg, #3bb4f2 20%,#008cff 80%);}

 @media (max-width:1680px) {
.operation a{ font-size: 12px; }
.operation a label{cursor: pointer;}
}
div.tab-pane.pics a.upimg{ height: auto; padding: 8px; padding-bottom:0px; }
div.tab-pane.pics .images_upload{ width:auto;position: relative; }
div.tab-pane.pics .delect{ text-align: center; display: block; background: #fafafa;position: absolute;bottom: -3px;left: 0;color: #fff;  background-color:rgba(0,0,0,0.5);z-index: 2;width: 100%; }
.template_div{margin: 5px 0px;}
/*多图文结束

/*内容图集*/
.pic dl {
    position: relative;
    margin-right: 10px;
    text-align: center;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    margin-top: 5px;
    width: 180px;
    cursor: all-scroll !important;
}
.add_pics dl:first-child {
    display: none;
}
.pic dl dt {
    padding: 2px;
    box-sizing: border-box;
    height: 140px;
    line-height: 136px;
    font-size: 0;
    background: #f5f5f5;
}
.pic img {
    margin: 0; 
    margin-right: 0; 
    max-width: 100%;
    max-height: 100%;
}
.pic dl p {
    width: 100%;
    box-sizing: border-box;
}
.pic dl p input {
    width: 100%;
    border-radius: 0;
    border: none;
    border-top: 1px solid #e6e6e6;
    color: #454545;
    height: 30px;
    padding: 0 10px;
    box-sizing: border-box;
}
/*内容图集*/

/*部分美化代码*/
#nav li dl dd.layui-this, #nav li dl dd.layui-this>a, .layui-nav-tree .layui-this>a {
    background: linear-gradient(to right, #0099CC, 20%, #0099CC);
    color: #fff !important;
}
.layui-nav-tree .layui-nav-bar,
.layui-nav-bar {
    display: none !important;
}
.layui-nav-itemed>.layui-nav-child {
    background-color: #1E242B;
}
.layui-layout-admin .layui-header {
    background: #fff;
    height: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .05);
}
.layui-layout-right .layui-nav-item a {
    color: #454545;
}
.layui-layout-right .layui-nav-item a:hover {
    color: #333;
}
.layui-layout-right .layui-nav-item a .layui-nav-more {
    border-color: #454545 transparent transparent;
    border-top-color: #454545;
}
.layui-layout-right .layui-nav-item a .layui-nav-mored {
    border-color: transparent transparent #454545;
}
.layui-tab-brief {
    background: #fff;
    padding: 10px 20px;
    margin: 0;
}
.layui-tab-content {
    padding: 15px 0 10px;
}
.tab-big li, .layui-tab-title li {
    /* font-weight: bold; */
    color: #555;
}
.layui-tab-title .layui-this {
    color: #333;
}
/*去除固定底部*/
.layui-layout-admin .layui-footer {
    display: none;
}
.layui-layout-admin .layui-body {
    bottom: 0;
}
.edui-default .edui-editor {
    border: 1px solid #ddd !important;
    -webkit-border-radius: 2px !important;
    -moz-border-radius: 2px !important;
    border-radius: 2px !important;
}
.bg-default {
    padding: 20px;
    background: #fff;
    overflow: hidden;
}
.input-edit {
    border: 1px solid transparent;
    background: none !important;
    padding: 8px;
    display: inline-block;
}
.input-edit.on {
    border-color: #75B9F0;
    box-shadow: 0 0 5px #75B9F0;
}
.input-edit-visits {
    width: 40px;
}

.tit-ico {
    display: inline-block;
    position: relative;
}
.tit-ico .stimg {
    position: absolute;
    top: 0;
    left: 35px;
    width: 200px;
    display: none;
    z-index: 9999;
    max-width: 150px!important;
    border: 1px solid #ddd;
    background: #fff;
}

/*增加sm输入框*/
.layui-input-sm,
.layui-select-sm,
.layui-textarea-sm,
.layui-input-sm .layui-input,
.layui-input-sm .layui-form-select dl dd,
.layui-input-sm .layui-form-select dl dt {
    height: 30px;
    line-height: 30px;
    font-size: 12px;
}

#checkall,
.checkitem {
    display: inline-block !important;
}
.select-cate {
    width: 180px;
}

/*lay-ignore样式补充*/
.form-select {
    color: #555555;
    background-color: #FFF;
    border: solid 1px #eee;
    padding: 4px 6px;
    resize: none;
    vertical-align: middle;
    box-shadow: none;
}
.red {
    color: red;
}